package com.honeyms.project.blog.blogfavoritesusercontent.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.honeyms.framework.web.domain.BaseEntity;

/**
 * 用户收藏帖子对象 blog_favorites_user_content
 * 
 * @author honeyms
 * @date 2020-10-16
 */
public class BlogFavoritesUserContent extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 用户id */
    private Long userId;

    /** 帖子id */
    private Long contentId;

    public void setUserId(Long userId)
    {
        this.userId = userId;
    }

    public Long getUserId()
    {
        return userId;
    }
    public void setContentId(Long contentId)
    {
        this.contentId = contentId;
    }

    public Long getContentId()
    {
        return contentId;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("userId", getUserId())
            .append("contentId", getContentId())
            .toString();
    }
}
